package tt.love.hw.common.config;

import java.util.HashMap;
import java.util.Map;

public class ObjectBean {
	private String id;
	private String clazz;
	
	private Map<String, ObjectBeanProperty> properties = new HashMap<String, ObjectBeanProperty>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getClazz() {
		return clazz;
	}
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
	
	public Map<String, ObjectBeanProperty> getProperties() {
		return properties;
	}
	public void addProperty(ObjectBeanProperty beanProperty){
		properties.put(beanProperty.getName(), beanProperty);
	}
	@Override
	public String toString() {
		return "ObjectBean [clazz=" + clazz + ", id=" + id + ", properties="
				+ properties + "]";
	}
	
	

}
